﻿<Application x:Class="XMALCode.App"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             StartupUri="MainWindow.xaml" Exit="AppExit">
    <Application.Resources>
        <x:Code>
            <![CDATA[
            private void AppExit(object sender, ExitEventArgs e)
            {
                MessageBox.Show("App has exited");
            }
            ]]>
        </x:Code>
    </Application.Resources>
</Application>
